package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.kaili.common.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;


/**
*  时间围栏
* @author:nigang
* @Time: 2019-07-24
* @Copyright: ©  杭州凯立通信有限公司 版权所有
* @Warning: 本内容仅限于公司内部传阅,禁止外泄或用于其它商业目的
*/
@Data
@TableName("mdm_timefence")
public class MdmTimefenceEntity extends BaseEntity {
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("围栏名称")
    private String railName;

    @ApiModelProperty("生效日期")
    private Date startDate;

    @ApiModelProperty("结束日期")
    private Date endDate;

    @ApiModelProperty("排除日期")
    private String exceptDate;

    @ApiModelProperty("排除日期数组")
    private Date[] exceptDateList;

    @ApiModelProperty("策略类型")
    private Integer strategyType;

    @ApiModelProperty("策略类型名称")
    private String strategyTypeName;

    @ApiModelProperty("数据状态 0 删除 1 正常")
    private String rdStatus;

    @ApiModelProperty("创建人姓名")
    private String createByName;

    @ApiModelProperty("策略对象集合")
    private ArrayList<MdmRailStrategyEntity> list;
}
